### 
# @Author: ZhanXie
 # @Date: 2019-12-02 17:31:05
 # @LastEditors: ZhanXie
 # @LastEditTime: 2019-12-02 17:53:03
 # @Description: shell 根据日期拆分日志 先拷贝文件然后清空
 # @FilePath: /node-demo/blog-origin/src/util/copy.sh
 ###
#!/bin/sh 
cd ~/文档/git/node-demo/blog-origin/logs
cp access.log $(date +%Y-%m-%d).access.log
echo "" > access.log

# ~/文档/git/node-demo/blog-origin/src/util/copy.sh